from langchain_openai import ChatOpenAI

_llm = ChatOpenAI(
    model='qwen2.5:7b',
    base_url='http://192.168.1.2:11434/v1',
    api_key='ollama'
)
_r = _llm.invoke('你叫什么名字')
print(_r.content)
